from fdfs_client.client import Fdfs_client# 上传图片到storage测试# 创建fast客户端实例 加载客户端配置文件client = Fdfs_client('./client.conf')# 调用FastDFS客户端上传文件方法ret = client.upload_by_filename('/home/python/Desktop/alonda/01.jpeg')print(ret)"""{'Storage IP': '192.168.161.129', 'Uploaded size': '46.00KB', 'Status': 'Upload successed.', 'Local file name': '/home/python/Desktop/alonda/01.jpeg', 'Group name': 'group1',  'Remote file_id': 'group1/M00/00/00/wKihgVzRf2SAWOrhAAC4j90Tziw66.jpeg'}"""